<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,user-scalable=no, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">   
</head>
  
  <body>
 

    <nav id="menu">
        <ul>
            <li class="menu-li-head"><a href="${ctx }/customer/toOrder">酒店入住 <i class="fa fa-home"></i></a></li>
            <li class="menu-li-head"><a href="${ctx }/customer/toAddLinkman">联系人&nbsp&nbsp&nbsp&nbsp<i class="fa fa-phone"></i></a></li>
            <li class="menu-li-head"><a class="toRoomManage" href="#">房间管理 <i class="fa fa-building"></i></a></li>
            <li class="menu-li-head"><a href="${ctx }/customer/perfectInformation">完善信息 <i class="fa fa-pencil"></i></a></li>
            <li class="menu-li-head"><a href="${ctx }/customer/toCateRecommend">餐馆美食 <i class="fa fa-beer"></i></a></li>
            <li class="menu-li-head"><a href="${ctx }/customer/toVisitRecommend">游玩攻略 <i class="fa fa-star"></i></a></li>
            <li class="menu-li-head"><a href="${ctx }/customer/toTrafficRecommend">交通指南 <i class="fa fa-send"></i></a></li>
            <li class="menu-li-head"><a href="${ctx }/customer/perfectInformation">完善信息 <i class="fa fa-user"></i></a></li>
            <li class="menu-li-head"><a href="${ctx }/customer/toAboutus">关于我们 <i class="fa fa-tag"></i></a></li>
        </ul>
    </nav>


  </body>
  <script>
$(".toRoomManage").click(function(){
	
	$.ajax({
		type : "POST",
		url : "${ctx}/customer/toRoomManageFail",
		data : {
			
		},
		success : function(result) {			
			if (result == "1") {
				swal("无可管理房间");
			} 
			else
			{
			window.location.href="${ctx}/customer/toRoomManage";
			}
		}
	});
});
</script>
</html>
